const view = {
    state: {
		applyFormList: [],
        indexActive: 'form',
        historyActive: 'complete',
    },
	mutations:{
		setApplyForm (state,data) {
			state.applyFormList = data;
			uni.setStorageSync('applyFormList', data)
		},
		setIndexActive (state,data) {
			state.indexActive = data;
			uni.setStorageSync('indexActive', data)
		},
		setHistoryActive (state,data) {
			state.historyActive = data;
			uni.setStorageSync('historyActive', data)
		}
	}
}
export default view